import java.util.List;

/**
 * @author Mr.J
 * @version 1.0.0
 * @date 2024/10/31
 * @desc
 */
public class College {
	// 属性：建筑集合、课程集合
	private List<Building> buildings;
	private List<Course> courses;

	// 构造函数
	public College(List<Building> buildings, List<Course> courses) {
		this.buildings = buildings;
		this.courses = courses;
	}

	// 访问器和修改器方法
	public List<Building> getBuildings() {
		return buildings;
	}

	public void setBuildings(List<Building> buildings) {
		this.buildings = buildings;
	}

	public List<Course> getCourses() {
		return courses;
	}

	public void setCourses(List<Course> courses) {
		this.courses = courses;
	}
}
